<template>
  <div class="h-300px flex items-center justify-center w-full">
    <img
      v-if="props.imgUrl"
      :src="props.imgUrl"
      alt=""
      class="mb-16px w-80px"
    />
    <span class="font-size-16px text-light">{{ props.msg }}</span>
  </div>
</template>

<script setup>
const props = defineProps({
  msg: {
    type: String,
    default: "暂无数据",
  },
  imgUrl: {
    type: String,
    default: "",
  },
});
</script>
